package org.example.lotterysystem.service;

import org.example.lotterysystem.common.domain.dto.ShortMessageLoginDTO;
import org.example.lotterysystem.common.domain.dto.UserPasswordLoginDTO;
import org.example.lotterysystem.common.domain.dto.UserRegisterDTO;
import org.example.lotterysystem.common.domain.vo.BaseUserInfoVO;
import org.example.lotterysystem.common.domain.vo.UserLoginVO;
import org.example.lotterysystem.common.domain.vo.UserRegisterVO;

import java.util.List;

public interface UserService  {
    UserRegisterVO register(UserRegisterDTO userRegisterDTO);

    boolean send(String phoneNumber);

    UserLoginVO userPasswordLogin(UserPasswordLoginDTO userPasswordLoginDTO);

    UserLoginVO shortMessageLogin(ShortMessageLoginDTO shortMessageLoginDTO);

    List<BaseUserInfoVO> findBaseUserInfo(String identity);
}
